package com.hd.service.authlogin.qq;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 第三方QQ登录参数
 */
@Component
@PropertySource("classpath:auth_login.properties")
public class QQProperties {
    @Value("${auth.qq.appid}")
    private String appid;
    @Value("${auth.qq.appKey}")
    private String appKey;
    @Value("${auth.qq.redirect_uri}")
    private String redirectUri;
    @Value("${auth.qq.code_callback_uri}")
    private String codeBackUrl;
    @Value("${auth.qq.access_token_callback_uri}")
    private String accessTokenCallbackUrl;
    @Value("${auth.qq.openid_callback_uri}")
    private String openidCallbackUrl;
    @Value("${auth.qq.user_info_callback_uri}")
    private String userInfoCallbackUrl;

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getRedirectUri() {
        return redirectUri;
    }

    public void setRedirectUri(String redirectUri) {
        this.redirectUri = redirectUri;
    }

    public String getCodeBackUrl() {
        return codeBackUrl;
    }

    public void setCodeBackUrl(String codeBackUrl) {
        this.codeBackUrl = codeBackUrl;
    }

    public String getAccessTokenCallbackUrl() {
        return accessTokenCallbackUrl;
    }

    public void setAccessTokenCallbackUrl(String accessTokenCallbackUrl) {
        this.accessTokenCallbackUrl = accessTokenCallbackUrl;
    }

    public String getOpenidCallbackUrl() {
        return openidCallbackUrl;
    }

    public void setOpenidCallbackUrl(String openidCallbackUrl) {
        this.openidCallbackUrl = openidCallbackUrl;
    }

    public String getUserInfoCallbackUrl() {
        return userInfoCallbackUrl;
    }

    public void setUserInfoCallbackUrl(String userInfoCallbackUrl) {
        this.userInfoCallbackUrl = userInfoCallbackUrl;
    }
}
